package com.wgchao.identityrightsmanagement.domain.resource.model;

import com.wgchao.identityrightsmanagement.domain.ValueObject;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName: FuncIdentify
 * @author: wgchao
 * @createTime: 2020/6/28 7:16 AM
 * @Description: TODO
 */
@AllArgsConstructor
@Getter
public class FuncIdentify extends ValueObject {

    private String menuMark;
    //功能标识
    private String funcMark;

    public boolean belongToMenu(String menuMark){
        return this.menuMark.equals(menuMark);
    }

}
